export const columns1 = [
    {
        title: '各高校落实率',
        key: 'name',
        minWidth: 200,
        sortable: true,
    },
    {
        title: '专科',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'juniorGraduate',
                minWidth: 100,
                sortable: true,
                disability: false
            },
            {
                title: '落实人数',
                key: 'juniorImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'juniorPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.juniorPer === 0 ? '0%' : Math.round((params.row.juniorPer) * 10000) / 100 + '%');
                }
            }
        ]
    },

    {
        title: '本科',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'undergraduateGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'undergraduateImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'undergraduatePer',
                minWidth: 100,
                sortable: true,
                ellipsis: true,
                render: (h, params) => {
                    return h('p', params.row.undergraduatePer === 0 ? '0%' : Math.round((params.row.undergraduatePer) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'byrs_yjs',
                minWidth: 100,
                sortable: true,
                render(h, params) {
                    let byrs_yjs_ = parseInt(params.row.masterGraduate) + parseInt(params.row.doctorGraduate);
                    return h('p', byrs_yjs_);
                }
            },
            {
                title: '落实人数',
                key: 'jyrs_yjs',
                minWidth: 100,
                sortable: true,
                render(h, params) {
                    let jyrs_yjs_ = parseInt(params.row.masterImplement) + parseInt(params.row.doctorImplement);
                    return h('p', jyrs_yjs_);
                }
            },
            {
                title: '落实率',
                key: 'jyl_yjs',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    let byrs_yjs_ = parseInt(params.row.masterGraduate) + parseInt(params.row.doctorGraduate);
                    let jyrs_yjs_ = parseInt(params.row.masterImplement) + parseInt(params.row.doctorImplement);
                    let rate = calculate(jyrs_yjs_, byrs_yjs_);
                    return h('p',byrs_yjs_ === 0 ? '0%' : Math.round((jyrs_yjs_/byrs_yjs_) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '硕士研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'masterGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'masterImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'masterPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.masterPer === 0 ? '0%' : Math.round((params.row.masterPer) * 10000) / 100 + '%');
                }
            }
        ]
    },

    {
        title: '博士研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'doctorGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'doctorImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'doctorPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.doctorPer === 0 ? '0%' : Math.round((params.row.doctorPer) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '小计',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'subtotalGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'subtotalImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'subtotalPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.subtotalPer === 0 ? '0%' : Math.round((params.row.subtotalPer) * 10000) / 100 + '%');
                }
            }
        ]
    }
];

export const columns2 = [
    {
        title: '各院系名称',
        key: 'college',
        minWidth: 200,
        sortable: true,
    },
    {
        title: '各专业名称',
        key: 'profession',
        minWidth: 200,
        sortable: true
    },
    {
        title: '专科',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'juniorGraduate',
                minWidth: 100,
                sortable: true,
                disability: false
            },
            {
                title: '落实人数',
                key: 'juniorImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'juniorPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.juniorPer === 0 ? '0%' : Math.round((params.row.juniorPer) * 10000) / 100 + '%');
                }
            }
        ]
    },

    {
        title: '本科',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'undergraduateGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'undergraduateImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'undergraduatePer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.undergraduatePer === 0 ? '0%' : Math.round((params.row.undergraduatePer) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'byrs_yjs',
                minWidth: 100,
                sortable: true,
                render(h, params) {
                    let byrs_yjs_ = parseInt(params.row.masterGraduate) + parseInt(params.row.doctorGraduate);
                    return h('p', byrs_yjs_);
                }
            },
            {
                title: '落实人数',
                key: 'jyrs_yjs',
                minWidth: 100,
                sortable: true,
                render(h, params) {
                    let jyrs_yjs_ = parseInt(params.row.masterImplement) + parseInt(params.row.doctorImplement);
                    return h('p', jyrs_yjs_);
                }
            },
            {
                title: '落实率',
                key: 'jyl_yjs',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    let byrs_yjs_ = parseInt(params.row.masterGraduate) + parseInt(params.row.doctorGraduate);
                    let jyrs_yjs_ = parseInt(params.row.masterImplement) + parseInt(params.row.doctorImplement);
                    let rate = calculate(jyrs_yjs_, byrs_yjs_);
                    return h('p',byrs_yjs_ === 0 ? '0%' : Math.round((jyrs_yjs_/byrs_yjs_) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '硕士研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'masterGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'masterImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'masterPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.masterPer === 0 ? '0%' : Math.round((params.row.masterPer) * 10000) / 100 + '%');
                }
            }
        ]
    },

    {
        title: '博士研究生',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'doctorGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'doctorImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'doctorPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.doctorPer === 0 ? '0%' : Math.round((params.row.doctorPer) * 10000) / 100 + '%');
                }
            }
        ]
    },
    {
        title: '小计',
        key: '',
        minWidth: 100,
        sortable: false,
        children: [
            {
                title: '毕业人数',
                key: 'subtotalGraduate',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'subtotalImplement',
                minWidth: 100,
                sortable: true
            },
            {
                title: '落实率',
                key: 'subtotalPer',
                minWidth: 100,
                sortable: true,
                render: (h, params) => {
                    return h('p', params.row.subtotalPer === 0 ? '0%' : Math.round((params.row.subtotalPer) * 10000) / 100 + '%');
                }
            }
        ]
    }
];
// 七个率 省级
export const col_seven_rate_province = [
    {
        title: '高校名称',
        align: 'center',
        minWidth: 100,
        sortable: true,
        key: 'schoolName'
    },
    {
        title: '毕业去向落实率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'graduation',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'graduationPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.graduationPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },

    {
        title: '单位就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'contract',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'contractPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.contractPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自主创业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'selfemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.selfempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自由职业就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.freelancingPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '灵活就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'nimble',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'nimblePer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nimblePer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '升学率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'enrollment',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'enrollmentPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.enrollmentPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '暂不就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'nonemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nonempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nonempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '待就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'waitemp',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'waitempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.waitempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

// 七个率 校级
export const col_seven_rate_school = [
    {
        title: '院系名称',
        align: 'center',
        minWidth: 150,
        sortable: true,
        key: 'college'
    },
    {
        title: '专业名称',
        align: 'center',
        minWidth: 200,
        sortable: true,
        key: 'profession'
    },
    {
        title: '毕业去向落实率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'graduation',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'graduationPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.graduationPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },

    {
        title: '单位就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'contract',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'contractPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.contractPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自主创业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'selfemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.selfempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自由职业就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.freelancingPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '灵活就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'nimble',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nimblePer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nimblePer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '升学率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'enrollment',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'enrollmentPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.enrollmentPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '暂不就业率',
        align: 'center',
        sortable: false,
        minWidth: 120,
        children: [
            {
                title: '落实人数',
                key: 'nonemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nonempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nonempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '待就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'waitemp',
                minWidth: 120,
                align: 'center',
                sortable: true
            },

            {
                title: '占比',
                key: 'waitempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.waitempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

// 七个率 院级
export const col_seven_rate_college = [
    {
        title: '专业名称',
        align: 'center',
        key: 'profession',
        minWidth: 100,
        sortable: true
    },
    {
        title: '毕业去向落实率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'graduation',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'graduationPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.graduationPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },

    {
        title: '单位就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'contract',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'contractPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.contractPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自主创业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'selfemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfempPer',
                minWidth: 120,
                align: 'center',
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.selfempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自由职业就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.freelancingPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '灵活就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'nimble',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nimblePer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nimblePer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '升学率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                minWidth: 120,
                key: 'enrollment',
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'enrollmentPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.enrollmentPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '暂不就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'nonemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nonempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nonempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '待就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'waitemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'waitempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.waitempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

// 七个率 学历层次
export const col_seven_rate_education = [
    {
        title: '学历层次',
        sortable: true,
        align: 'center',
        minWidth: 120,
        key: 'education'
    },
    {
        title: '毕业去向落实率',
        align: 'center',
        sortable: false,
        minWidth: 120,
        children: [
            {
                title: '落实人数',
                key: 'graduation',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'graduationPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.graduationPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '单位就业率',
        align: 'center',
        sortable: false,
        minWidth: 120,
        children: [
            {
                title: '落实人数',
                key: 'contract',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'contractPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.contractPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自主创业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'selfemp',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfempPer',
                minWidth: 120,
                align: 'center',
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.selfempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '自由职业就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.freelancingPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '灵活就业率',
        align: 'center',
        sortable: false,
        minWidth: 120,
        children: [
            {
                title: '落实人数',
                key: 'nimble',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'nimblePer',
                minWidth: 120,
                align: 'center',
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nimblePer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '升学率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'enrollment',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'enrollmentPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.enrollmentPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '暂不就业率',
        align: 'center',
        sortable: false,
        minWidth: 120,
        children: [
            {
                title: '落实人数',
                key: 'nonemp',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'nonempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.nonempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '待就业率',
        align: 'center',
        minWidth: 120,
        sortable: false,
        children: [
            {
                title: '落实人数',
                key: 'waitemp',
                minWidth: 120,
                align: 'center',
                sortable: true
            },
            {
                title: '占比',
                key: 'waitempPer',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = (params.row.waitempPer * 100).toFixed(2) + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

export const columns3 = [
    {
        title: '学校名称',
        align: 'center',
        key: 'name',
        minWidth: 200,
        sortable: true
    },
    {
        title: '各专业名称',
        key: 'xl_description',
        slot: 'majorName',
        align: 'center',
        minWidth: 140,
        sortable: true
    },
    {
        title: '专科',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '毕业人数',
                key: 'zkzrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'zklsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'zklsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.zklsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '本科',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '毕业人数',
                key: 'bkzrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'bklsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'bklsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.bklsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'yjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'yjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'yjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.yjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '博士研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'bsyjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'bsyjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'bsyjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.bsyjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '硕士研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'shyjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'shyjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'shyjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.shyjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '小计',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'total_zrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'total_lsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'total_lsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.total_lsl + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

export const columns4 = [
    {
        title: '各专业名称',
        key: 'xl_description',
        align: 'center',
        slot: 'majorName',
        minWidth: 120,
        sortable: true
    },
    {
        title: '专科',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '毕业人数',
                key: 'zkzrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'zklsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'zklsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.zklsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '本科',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '毕业人数',
                key: 'bkzrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'bklsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'bklsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.bklsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'yjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'yjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'yjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.yjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '博士研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'bsyjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'bsyjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'bsyjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.bsyjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '硕士研究生',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'shyjszrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'shyjslsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'shyjslsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.shyjslsl + '%';
                    return h('p', num);
                }
            }
        ]
    },
    {
        title: '小计',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '毕业人数',
                key: 'total_zrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实人数',
                key: 'total_lsrs',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '落实率',
                key: 'total_lsl',
                align: 'center',
                minWidth: 120,
                sortable: true,
                render(h, params) {
                    // 传入的是浮点数乘100 转字符串 保留两位小数 之后拼接上%
                    let num = params.row.total_lsl + '%';
                    return h('p', num);
                }
            }
        ]
    }
];

export const columns5 = [
    {
        title: '各高校名称',
        key: 'schoolName',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业生总人数',
        slot: 'allTotalNumber',
        key: 'allTotalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实去向总人数',
        slot: 'totalNumber',
        key: 'totalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '市场性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'marketablePositionTotal',
                key: 'marketablePositionTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '民营企业',
                key: 'marketablePositionPrivate',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '自由职业',
                key: 'marketablePositionFreelance',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '外资职业',
                key: 'marketablePositionForeign',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '自主创业',
                key: 'marketablePositionIndependent',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '政策性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'policyPostTotal',
                key: 'policyPostTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '境内升学',
                align: 'center',
                minWidth: 200,
                children: [
                    {
                        title: '合计',
                        key: 'policyPostStudyInChina',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '研究生',
                        key: 'policyPostInGraduate',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '第二学位',
                        key: 'policyPostInSecond',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '专科升普通本科',
                        key: 'policyPostInJuniorToGeneral',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    }
                ]
            },
            {
                title: '党政机关',
                key: 'policyPostGovernment',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '事业单位',
                key: 'policyPostPublic',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国有企业',
                key: 'policyPostStateOwned',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '征兵入伍',
                key: 'policyPostConscription',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '科研助理',
                key: 'policyPostResearchAssistant',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '城乡社区',
                key: 'policyPostUrban',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国家基层项目',
                key: 'policyPostNational',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '地方基层项目',
                key: 'policyPostLocal',
                align: 'center',
                minWidth: 120,
                sortable: true
            }
        ]
    },
    {
        title: '出国境（境外升学）',
        key: 'policyPostOut',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '未落实去向总人数',
        key: 'policyPostNoDone',
        align: 'center',
        minWidth: 120,
        sortable: true
    }
];

export const columns6 = [
    {
        title: '各院系名称',
        key: 'yxmc',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '各专业名称',
        key: 'zy',
        slot: 'majorName',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业生总人数',
        slot: 'allTotalNumber',
        key: 'allTotalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实去向总人数',
        slot: 'totalNumber',
        key: 'totalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '市场性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'marketablePositionTotal',
                key: 'marketablePositionTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '民营企业',
                key: 'marketablePositionPrivate',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '自由职业',
                key: 'marketablePositionFreelance',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '外资职业',
                key: 'marketablePositionForeign',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '自主创业',
                key: 'marketablePositionIndependent',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '政策性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'policyPostTotal',
                key: 'policyPostTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '境内升学',
                align: 'center',
                minWidth: 200,
                children: [
                    {
                        title: '合计',
                        key: 'policyPostStudyInChina',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '研究生',
                        key: 'policyPostInGraduate',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '第二学位',
                        key: 'policyPostInSecond',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '专科升普通本科',
                        key: 'policyPostInJuniorToGeneral',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    }
                ]
            },
            {
                title: '党政机关',
                key: 'policyPostGovernment',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '事业单位',
                key: 'policyPostPublic',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国有企业',
                key: 'policyPostStateOwned',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '征兵入伍',
                key: 'policyPostConscription',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '科研助理',
                key: 'policyPostResearchAssistant',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '城乡社区',
                key: 'policyPostUrban',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国家基层项目',
                key: 'policyPostNational',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '地方基层项目',
                key: 'policyPostLocal',
                align: 'center',
                minWidth: 120,
                sortable: true
            }
        ]
    },
    {
        title: '出国境（境外升学）',
        key: 'policyPostOut',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '未落实去向总人数',
        key: 'policyPostNoDone',
        align: 'center',
        minWidth: 120,
        sortable: true
    }
];

export const columns7 = [
    {
        title: '各专业名称',
        key: 'zy',
        slot: 'majorName',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业生总人数',
        slot: 'allTotalNumber',
        key: 'allTotalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实去向总人数',
        slot: 'totalNumber',
        key: 'totalNumber',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '市场性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'marketablePositionTotal',
                key: 'marketablePositionTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '民营企业',
                key: 'marketablePositionPrivate',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '自由职业',
                key: 'marketablePositionFreelance',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '外资职业',
                key: 'marketablePositionForeign',
                align: 'center',
                minWidth: 120,
            },
            {
                title: '自主创业',
                key: 'marketablePositionIndependent',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '政策性岗位',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '小计',
                slot: 'policyPostTotal',
                key: 'policyPostTotal',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '境内升学',
                align: 'center',
                minWidth: 200,
                children: [
                    {
                        title: '合计',
                        key: 'policyPostStudyInChina',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '研究生',
                        key: 'policyPostInGraduate',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '第二学位',
                        key: 'policyPostInSecond',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    },
                    {
                        title: '专科升普通本科',
                        key: 'policyPostInJuniorToGeneral',
                        align: 'center',
                        minWidth: 120,
                        sortable: true
                    }
                ]
            },
            {
                title: '党政机关',
                key: 'policyPostGovernment',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '事业单位',
                key: 'policyPostPublic',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国有企业',
                key: 'policyPostStateOwned',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '征兵入伍',
                key: 'policyPostConscription',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '科研助理',
                key: 'policyPostResearchAssistant',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '城乡社区',
                key: 'policyPostUrban',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '国家基层项目',
                key: 'policyPostNational',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '地方基层项目',
                key: 'policyPostLocal',
                align: 'center',
                minWidth: 120,
                sortable: true
            }
        ]
    },
    {
        title: '出国境（境外升学）',
        key: 'policyPostOut',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '未落实去向总人数',
        key: 'policyPostNoDone',
        align: 'center',
        minWidth: 120,
        sortable: true
    }
];

export const columns8 = [
    {
        title: '高校名称',
        key: 'schoolName',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '灵活就业率',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'flexible',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'flexiblePer',
                slot: 'flexiblePer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '个体工商户就业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'selfEmployed',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfEmployedPer',
                slot:'selfEmployedPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '自由职业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                slot: 'freelancingPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '电子商务创业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'eCommerce',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'eCommercePer',
                slot: 'eCommercePer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '个体工商户创业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'selfEntrepreneurship',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfEntrepreneurshipPer',
                slot:'selfEntrepreneurshipPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
];
export const columns9 = [
    {
        title: '院系名称',
        key: 'college',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '专业名称',
        key: 'profession',
        align: 'center',
        minWidth: 120,
        sortable: true
    },
    {
        title: '灵活就业率',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'flexible',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'flexiblePer',
                slot: 'flexiblePer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '个体工商户就业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'selfEmployed',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfEmployedPer',
                slot: 'selfEmployedPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '自由职业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'freelancing',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'freelancingPer',
                slot: 'freelancingPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '电子商务创业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'eCommerce',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'eCommercePer',
                slot: 'eCommercePer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
    {
        title: '个体工商户创业',
        minWidth: 120,
        align: 'center',
        children: [
            {
                title: '落实人数',
                key: 'selfEntrepreneurship',
                align: 'center',
                minWidth: 120,
                sortable: true
            },
            {
                title: '占比',
                key: 'selfEntrepreneurshipPer',
                slot:'selfEntrepreneurshipPer',
                align: 'center',
                minWidth: 120,
            }
        ]
    },
];
export const columnsls = [
    {
        title: ' ',
        key: 'name',
        minWidth: 120,
        sortable: true
    },
    {
        title: '专科毕业人数',
        key: 'byrs1',
        minWidth: 120,
        sortable: true
    },
    {
        title: '专科落实人数',
        key: 'jyrs1',
        minWidth: 120,
        sortable: true
    },
    {
        title: '专科落实率',
        key: 'jyl1',
        minWidth: 120,
        sortable: true
    },
    {
        title: '本科毕业人数',
        key: 'byrs2',
        minWidth: 120,
        sortable: true
    },
    {
        title: '本科落实人数',
        key: 'jyrs2',
        minWidth: 120,
        sortable: true
    },
    {
        title: '本科落实率',
        key: 'jyl2',
        minWidth: 120,
        sortable: true
    },
    {
        title: '研究生毕业人数',
        key: 'byrs3',
        minWidth: 120,
        sortable: true
    },
    {
        title: '研究生落实人数',
        key: 'jyrs3',
        minWidth: 120,
        sortable: true
    },
    {
        title: '研究生落实率',
        key: 'jyl3',
        minWidth: 120,
        sortable: true
    },
    {
        title: '博士研究生毕业人数',
        key: 'byrs4',
        minWidth: 120,
        sortable: true
    },
    {
        title: '博士研究生落实人数',
        key: 'jyrs4',
        minWidth: 120,
        sortable: true
    },
    {
        title: '博士研究生落实率',
        key: 'jyl4',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业人数',
        key: 'byrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实人数',
        key: 'jyrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实率',
        key: 'jyl',
        minWidth: 120,
        sortable: true
    }
];

export const columnsls1 = [
    {
        title: ' ',
        key: 'name',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业人数',
        key: 'byrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实人数',
        key: 'jyrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '落实率',
        key: 'jyl',
        minWidth: 120,
        sortable: true
    }
];

// export const columnsls3 = [
//     {
//         title: '岗位类型统计',
//         align: 'center',
//         children:[
//             {
//                 title:'离校前落实去向',
//                 colspan:3,
//                 align: 'center',
//             }
//         ]
//     },
//     {
//         title: '专科',
//         align: 'center',
//         children:[
//             {
//                 title:'毕业人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实率',
//                 align: 'center',
//             },
//         ]
//     },
//     {
//         title: '本科',
//         align: 'center',
//         children:[
//             {
//                 title:'毕业人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实率',
//                 align: 'center',
//             },
//         ]
//     },
//     {
//         title: '硕士研究生',
//         align: 'center',
//         children:[
//             {
//                 title:'毕业人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实率',
//                 align: 'center',
//             },
//         ]
//     },
//     {
//         title: '博士研究生',
//         align: 'center',
//         children:[
//             {
//                 title:'毕业人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实率',
//                 align: 'center',
//             },
//         ]
//     },
//     {
//         title: '小计',
//         align: 'center',
//         children:[
//             {
//                 title:'毕业人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实人数',
//                 align: 'center',
//             },
//             {
//                 title:'落实率',
//                 align: 'center',
//             },
//         ]
//     },
// ];

export const columnsls3 = [
    {
        title: '本届生源',
        key: 'sourceNumber',
        className: 'demo-table-info-column-title',
        minWidth: 120,
        // sortable: true,
    },
    {
        title: '全部去向信息',
        key: 'jyqxNumber',
        minWidth: 120,
        className: 'demo-table-info-column-title'
    },
    {
        title: '待审核',
        minWidth: 120,
        key: 'waitDoneNumber',
        className: 'demo-table-info-column-title'
        // minWidth: 120,
        // sortable: false,
    },
    {
        title: '审核通过',
        minWidth: 120,
        key: 'passNumber',
        className: 'demo-table-info-column-title'
        // minWidth: 120,
    },

    {
        title: '驳回',
        key: 'turnDownNumber',
        minWidth: 120,
        className: 'demo-table-info-column-title'
    }
];

// 高职扩招
export const columnsls4 = [
    {
        title: '学校名称',
        align: 'center',
        key: 'name',
        minWidth: 120,
        sortable: true
    },
    {
        title: '毕业生人数',
        align: 'center',
        key: 'byrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '去向落实人数',
        align: 'center',
        key: 'jyrs',
        minWidth: 120,
        sortable: true
    },
    {
        title: '去向落实率',
        align: 'center',
        key: 'jyl',
        minWidth: 120,
        slot: 'jyl',
        sortable: true
    }
];

export const columnsls5 = [
    {
        title: '院系',
        align: 'center',
        minWidth: 120,
        key: 'yxmc'
    },
    {
        title: '专业',
        align: 'center',
        minWidth: 120,
        key: 'name'
    },
    {
        title: '总就业率',
        align: 'center',
        minWidth: 120,
        slot: 'sumN'
    },
    {
        title: '学历',
        align: 'center',
        minWidth: 120,
        children: [
            {
                title: '博士生毕业',
                align: 'center',
                minWidth: 120,
                slot: 'bs'
            },
            {
                title: '硕士生毕业',
                align: 'center',
                minWidth: 120,
                slot: 'ss'
            },
            {
                title: '二学位毕业',
                align: 'center',
                minWidth: 120,
                slot: 'exw'
            },
            {
                title: '本科生毕业',
                align: 'center',
                minWidth: 120,
                slot: 'bk'
            }
        ]
    }
];

function calculate(a, b) {
    if(b === 0){
        return "0%"
    }

    const num = (a / b) * 100;
    const percent = num.toFixed(2) + '%';
    return percent;
}
